libxl: HVM firmware passthrough support
authorRoss Philipson <ross.philipson@citrix.com>
Fri, 15 Feb 2013 13:32:16 +0000 (13:32 +0000)
committerRoss Philipson <ross.philipson@citrix.com>
Fri, 15 Feb 2013 13:32:16 +0000 (13:32 +0000)
commitdcd468855afed1fd205278beb60a4e3df21b3289
tree715db917fd8d01be83f1761d63ae18fef894733a
parenta234675150adfca751ed36c0ef68712160ff1ab9
libxl: HVM firmware passthrough support

This patch introduces support for two new parameters in libxl:

smbios_firmware=<path_to_smbios_structures_file>
acpi_firmware=<path_to_acpi_tables_file>

The changes are primarily in the domain building code where the firmware files
are read and passed to libxc for loading into the new guest. After the domain
building call to libxc, the addresses for the loaded blobs are returned and
written to xenstore.

LIBXL_HAVE_FIRMWARE_PASSTHROUGH is defined in libxl.h to allow users to
determine if the feature is present.

This patch also updates the xl.cfg man page with descriptions of the two new
parameters for firmware passthrough.

Signed-off-by: Ross Philipson <ross.philipson@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
docs/man/xl.cfg.pod.5
tools/libxl/libxl.h
tools/libxl/libxl_dom.c
tools/libxl/libxl_types.idl
tools/libxl/xl_cmdimpl.c